package com.ruoyi.system.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 服务单TL转派记录 数据由我方生成并提交给CC端对象 st_transfer_record
 * 
 * @author shihx
 * @date 2020-03-03
 */
public class TransferRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** TL ID */
    @Excel(name = "TL ID")
    private Long teamleaderId;

    /** Service号 */
    @Excel(name = "Service号")
    private String serviceNo;

    /** 提交TL时间 */
    @Excel(name = "提交TL时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submittlTime;

    /** 转移TL ID */
    @Excel(name = "转移TL ID")
    private Long newTeamleaderId;

    /** 是否同步到CC，0未同步、1已同步 */
    @Excel(name = "是否同步到CC，0未同步、1已同步")
    private String syncFlag;

    /** 同步到CC时间 */
    @Excel(name = "同步到CC时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date syncTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTeamleaderId(Long teamleaderId) 
    {
        this.teamleaderId = teamleaderId;
    }

    public Long getTeamleaderId() 
    {
        return teamleaderId;
    }
    public void setServiceNo(String serviceNo) 
    {
        this.serviceNo = serviceNo;
    }

    public String getServiceNo() 
    {
        return serviceNo;
    }
    public void setSubmittlTime(Date submittlTime) 
    {
        this.submittlTime = submittlTime;
    }

    public Date getSubmittlTime() 
    {
        return submittlTime;
    }
    public void setNewTeamleaderId(Long newTeamleaderId) 
    {
        this.newTeamleaderId = newTeamleaderId;
    }

    public Long getNewTeamleaderId() 
    {
        return newTeamleaderId;
    }
    public void setSyncFlag(String syncFlag) 
    {
        this.syncFlag = syncFlag;
    }

    public String getSyncFlag() 
    {
        return syncFlag;
    }
    public void setSyncTime(Date syncTime) 
    {
        this.syncTime = syncTime;
    }

    public Date getSyncTime() 
    {
        return syncTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teamleaderId", getTeamleaderId())
            .append("serviceNo", getServiceNo())
            .append("submittlTime", getSubmittlTime())
            .append("newTeamleaderId", getNewTeamleaderId())
            .append("syncFlag", getSyncFlag())
            .append("syncTime", getSyncTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
